package com.ruoyi.business.controller;

import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 业务系统心跳监控接口
 *
 * @Author: Jamnsin
 * @Date: 2021/10/13 7:29 下午
 */
@Slf4j
@RestController
@RequestMapping("/sys_monitor")
public class MonitorController {

    @GetMapping("/index")
    // @Log(title = "Monitor service", businessType = BusinessType.OTHER)
    public AjaxResult monitorService() {
        log.info("BizSys Monitor Service");
        return AjaxResult.success();
    }
}
